package com.gopay.common.domain.log;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 操作日志记录子表——银行自动路由辅助表
 *
 * @OperLogBankRouteDtl.java
 * @author sh.jiao
 * @2017年5月9日 上午11:08:01 www.gopay.com.cn Inc.All rights reserved.
 */

@Entity
@Table(name = "T_OPER_LOG_BANK_ROUTE_DTL")
public class OperLogBankRouteDtl extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 **/
    private Long logId;
    /** 规则ID **/
    private String ruleId;
    /** 规则名称 **/
    private String ruleName;
    /** 银行代码 **/
    private String bankCode;
    /** 产品代码 **/
    private String bankProdCode;
    /** 范围 **/
    private String range;
    /** 规则类型 **/
    private String ruleType;
    /** 方案ID **/
    private String solutionId;
    /** 客户IDS **/
    private String custIds;
    /** IDS **/
    private String ids;
    /** 规则IDS **/
    private String ruleIds;
    /** 方案名称 **/
    private String solutionName;
    /** 方案类型 **/
    private String solutionType;

    @Id
    @Column(name = "LOG_ID", unique = true, nullable = false)
    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    @Column(name = "RULE_ID", length = 30)
    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    @Column(name = "RULE_NAME", length = 50)
    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    @Column(name = "BANK_CODE", length = 10)
    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    @Column(name = "BANK_PROD_CODE", length = 2)
    public String getBankProdCode() {
        return bankProdCode;
    }

    public void setBankProdCode(String bankProdCode) {
        this.bankProdCode = bankProdCode;
    }

    @Column(name = "RANGE", length = 1000)
    public String getRange() {
        return range;
    }

    public void setRange(String range) {
        this.range = range;
    }

    @Column(name = "RULE_TYPE", length = 20)
    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    @Column(name = "SOLUTION_ID", length = 30)
    public String getSolutionId() {
        return solutionId;
    }

    public void setSolutionId(String solutionId) {
        this.solutionId = solutionId;
    }

    @Column(name = "CUST_IDS", length = 2000)
    public String getCustIds() {
        return custIds;
    }

    public void setCustIds(String custIds) {
        this.custIds = custIds;
    }

    @Column(name = "IDS", length = 2000)
    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    @Column(name = "RULE_IDS",length = 2000)
    public String getRuleIds() {
        return ruleIds;
    }

    public void setRuleIds(String ruleIds) {
        this.ruleIds = ruleIds;
    }

    @Column(name = "SOLUTION_NAME",length = 50)
    public String getSolutionName() {
        return solutionName;
    }

    public void setSolutionName(String solutionName) {
        this.solutionName = solutionName;
    }

    @Column(name = "SOLUTION_TYPE", length = 20)
    public String getSolutionType() {
        return solutionType;
    }

    public void setSolutionType(String solutionType) {
        this.solutionType = solutionType;
    }
}
